package com.chen.service;

import com.chen.common.MyExpection;
import com.chen.common.Result;
import com.chen.vo.login.LoginReqVO;


import javax.servlet.http.HttpServletResponse;

/**
 * ClassName: ILoginService
 * Package: com.chen.service
 * Description:
 *
 * @Author 陈俊辉
 * @Create 2024/4/12 2:41
 * @Version 1.0
 */
public interface ILoginService {
    /**
     * 登录验证
     * @param reqVO
     * @param response
     * @return
     */
    Result login(LoginReqVO reqVO, HttpServletResponse response) throws MyExpection;
    /**
     * 验证登录
     * @param username
     * @param password
     */
    void doLogin(String username,String password);
}
